﻿/*
 * Copyright (C) 2010 The MobileSecurePay Project
 * All right reserved.
 * author: shiqun.shi@alipay.com
 * 
 *  提示：如何获取安全校验码和合作身份者id
 *  1.用您的签约支付宝账号登录支付宝网站(www.alipay.com)
 *  2.点击“商家服务”(https://b.alipay.com/order/myorder.htm)
 *  3.点击“查询合作者身份(pid)”、“查询安全校验码(key)”
 */

package com.alipay.android.msp;

//
// 请参考 Android平台安全支付服务(msp)应用开发接口(4.2 RSA算法签名)部分，并使用压缩包中的openssl RSA密钥生成工具，生成一套RSA公私钥。
// 这里签名时，只需要使用生成的RSA私钥。
// Note: 为安全起见，使用RSA私钥进行签名的操作过程，应该尽量放到商家服务器端去进行。
public final class Keys {

	// 合作身份者id，以2088开头的16位纯数字
	public static final String DEFAULT_PARTNER = "2088311818645025";

	// 收款支付宝账号
	public static final String DEFAULT_SELLER = "haiyi2014@hotmail.com";
	// ipnly43mmp85wb7wqcsdolege5gq52y3
	// 商户私钥，自助生成
	public static final String PRIVATE = "MIICdQIBADANBgkqhkiG9w0BAQEFAASCAl8wggJbAgEAAoGBAOlxpTDEsQaoD4xHHotIXCUgwsFx7dSKoBLNMFgrWhBzSLDt+87j/mavfvkT8Em1UjCevhNhlRAqLzXxY5Arcc4dPZA9Qe0mPzV/pjN/FhQV8xH1ZG18IEkVtUzHRwPeJFXM8SycQkbJNtFBBDmS3EKTkY3W5dcchHICr3g86SZXAgMBAAECgYAvLrcSmk6lZ8Zstdsoj6GAJ5T1gE9vi+06n5pL18dGV+azTAZ/FHnQy1vAgBUq8KkCBrOoOyrjr4MHRhi3hPBlM4eY3jEKvsxY6O+JmYVtCIcZV39ueqOai1Ke8KpijqMNnPSro8YxE1PBjNpACr3d2obMO65xQaEMK9dZthF6kQJBAPzIsUUk/wKCxZItLv2bjqAWfyoPCwfxamEu9KqVXUty/hvu1nd8u+Kk+by6yyhrYsYKyqw83Q8KQE0A3SxlqEMCQQDsafaNPRw3nxECYB1W3OvuTWeRiDbGPf/GPnucB9LZjTJt+qIMxXLoBb7r63ye+OwCd/tvuGGaZqO4KkQRQ4JdAkA54EVeHGtaitBreHbiz+Pm2V/CJHGVHvwJRjP0foA+zxRJFvT5pJBsAvO+91Gebn/N8hiXONQwJlu0hbcd/CR7AkAt+M0A2glKp5vfImGSKpOWW2bwXdSI6DV8j1nqFXti4poT2ND6OssFY1ik973cC/uY30v9hZU1ORBNF6r00HPhAkB1egIqJYsQi9gPqqWREqb8P45LeTw44JcU5seMO6Dl/NvJ9b4/3OqrzrZSFmIuybSUud7KTVA9497RwkRPR/Vc";

	// 支付宝
	// public static final String PUBLIC =
	// "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCgtrqLFTddZQ9Z3K/lpiYVP+RlrhgI6FAbhAZ9JojSZnkgIJ3Rydvkc3CweugYmmK06/TTwW4S5xqyACYsu7OzYnI4kEbGOyhoG3pDwb/ONOPEsSPM4BM08Lltdn96Eb+nB+5u7lpSQCwOl32rOvNhJ43MMuYrqRD26ZkklLmFvQIDAQAB";
    // "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCnxj/9qwVfgoUh/y2W89L6BkRAFljhNhgPdyPuBV64bfQNN1PjbCzkIM6qRdKBoLPXmKKMiFYnkd6rAoprih3/PrQEB/VsW8OoM8fxn67UDYuyBTqA23MML9q1+ilIZwBC2AQ2UBVOrFXfFl75p6/B5KsiNG9zpgmLCUYuLkxpLQIDAQAB"
	public static final String PUBLIC = "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCnxj/9qwVfgoUh/y2W89L6BkRAFljhNhgPdyPuBV64bfQNN1PjbCzkIM6qRdKBoLPXmKKMiFYnkd6rAoprih3/PrQEB/VsW8OoM8fxn67UDYuyBTqA23MML9q1+ilIZwBC2AQ2UBVOrFXfFl75p6/B5KsiNG9zpgmLCUYuLkxpLQIDAQAB";
	// 商户公钥
	// public static final String PUBLIC =
	// "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDpcaUwxLEGqA+MRx6LSFwlIMLBce3UiqASzTBYK1oQc0iw7fvO4/5mr375E/BJtVIwnr4TYZUQKi818WOQK3HOHT2QPUHtJj81f6YzfxYUFfMR9WRtfCBJFbVMx0cD3iRVzPEsnEJGyTbRQQQ5ktxCk5GN1uXXHIRyAq94POkmVwIDAQAB";
}
